<?php
declare (strict_types=1);

namespace app\admin\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class ChargeOff extends Model
{
    /**
     * @param $data
     * 核销记录
     */
    public function orderAll($data)
    {
        return self::create($data, ['charge_off_member_id', 'order_no'], true);
    }
}
